<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>金币明细列表</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <div class="layui-condition" <c:if test="${not empty param.userId}">style="display: none !important;" </c:if>>
                                <label>用户id：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <input type="text" id="userId" placeholder="请输入用户ID" autocomplete="off" class="layui-input" value="${param.userId}">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>主播id：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <input type="text" id="toUserId" placeholder="请输入主播ID" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>类型：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <select id="type">
                                        <option value="">全部</option>
                                        <option value="0">充值</option>
                                        <option value="1">消费</option>
                                        <option value="3">积分兑换</option>
                                        <option value="4">后台充值</option>
                                        <option value="5">VIP赠送</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>时间：</label>
                                <div class="layui-inline" style="width: 180px;">
                                    <input type="text" class="layui-input" id="time" placeholder=" - " autocomplete="off">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <button type="button" class="layui-btn" id="search" lay-event="search">
                                    <i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="typeTpl">
                        {{# if(d.type2 != null){ }}
                            {{# if(d.type2 == 0){ }}
                                视频通话
                            {{# }else if(d.type2 == 1){ }}
                                解锁动态
                            {{# }else if(d.type2 == 2){ }}
                                文字聊天
                            {{# }else if(d.type2 == 3 || d.type2 == 4 || d.type2 == 5 || d.type2 == 6){ }}
                                赠送礼物
                            {{# }else{ }}
                                其他
                            {{# } }}
                        {{# }else{ }}
                            {{# if(d.type == 0){ }}
                                充值
                            {{# }else if(d.type == 3){ }}
                                积分兑换
                            {{# }else if(d.type == 4){ }}
                                后台充值
                            {{# }else if(d.type == 5){ }}
                                VIP赠送
                            {{# }else{ }}
                                其他
                            {{# } }}
                        {{# } }}
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/walletmanage/coin/list.js?v=1.1.2"></script>

</body>
</html>
